html, body{
	margin:0;
	padding:0;
    background: black;
}

#main_section{
	margin:0 auto;
	border: 1px solid transparent;
	background-color:black;
	background-repeat:no-repeat;
	background-attachment: scroll;
	background-position: center bottom;
	width:1437px;
	height:1573px;
	margin-top:-450px;
    z-index:-1;
}

.header{
	position:relative;
    margin: 0 auto;
    margin-top:50px;
    width:572px;
    height:334px;
	z-index:2;
}

header h1{
	position:absolute;	
	margin-left:  -10000%;
}

#logo{
    float: left;
	z-index:2;
}

#border{
	position:relative;
	margin-top:-450px;
	z-index:1;
}

#login_form{
	position:relative;
	width:340px;
	height:250px;
	z-index:1;
	margin-top:-700px;
	margin-left:700px;
}

#login_form p{
	clear:both;
}

#login_form h2{
	position:absolute;
	left: -10000000%;
}

input{
	width: 200px;
	height:40px;
	margin-top:10px;
	margin-left:40px;
	border-radius:10px;
	padding-left:10px;
	font-size:1.1em;
	float:left;
}

#login{
	width:90px;
	height:60px;
	margin-top:10px;
	margin-left:40px;
}

input:first-child{
	margin-top:60px;
}

#register, #register_button{
	margin-left:20px;
	height:60px;
	width:120px;
}

.shadow {
	box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}

footer{
	height:60px;
	background-color:black;
	line-height:2.7em;
}

#footer_nav{
	margin-top:0px;
    position:absolute;
    top:1100px;
    left:200px;
    padding:0px;
    z-index:5;
}

#footer_nav li{
    float:left;
    margin:0px;
    margin-left:80px;
    padding:0px;
}

#footer_nav li:nth-child(2){
    margin-left:-60px;
}

#footer_nav li:nth-child(3){
    margin-left:0px;
}

#register_form{
	position:relative;
	width:400px;
	margin-top:-1100px;
	margin-left:200px;
	float:left;
	z-index:2;
}

#register_form input, p{
	margin-top:40px;
	margin-left:150px;
}

#register_form p{
	font-size:1.7em;
	color:#76D2C5;
	padding:0px;
	margin:0px;
	margin-top:40px;
}

#dateSelect{
	clear:both;
	float:left;
	width:300px;
	margin-left:150px;
	padding-left:0px;
}

#dateSelect select{
	margin-top:20px;
	margin-right:20px;
}

#paragraphs{
	margin-top:-1060px;
	width:600px;
	float:right;
	margin-right:250px;
	font-size:1.3em;
	color:#0044CC;
}

#paragraphs p{
	margin:0px;
	padding:0px;
	margin-top:10px;
}

#paragraphs p:first-child{
	margin-top:0px;
}

#paragraphs p:nth-child(3){
	margin-top:30px;
}

#paragraphs p:nth-child(4){
	margin-top:40px;
}

#register_form #register{
	position:relative;
	margin-left:500px;
	margin-top:20px;
	width:240px;
	height:120px;
}
.text:focus{
	outline:none;
    border: 2px solid #07c;
    box-shadow: 0 0 20px #07c;
}

.error{
	outline:none;
    border: 2px solid #F00;
    box-shadow: 0 0 20px #F00;
}

#mage{
	position:absolute;
	top:410px;
	left:295px;
	opacity: 0.9;
	border-radius:10%;
}

#player_info{
	position:absolute;
	top:390px;
	left:500px;
	width:550px;
	height:200px;
	padding:0px;
    z-index:3;
}

#player_info p{
	float:left;
}

#player_name{
	margin:0px;
	padding:0px;
	margin-top:20px;
	margin-left:20px;
	font-size:2.8em;
	font-weight:bold;
	font-family:sans-serif;
	text-transform: capitalize;
}

#player_rank{
	clear:both;
	margin:0px;
	padding:0px;
	margin-left:20px;
	font-size:2.6em;
	font-weight:bold;
	font-family:fantasy;
	text-transform: capitalize;
}

#logout_button{
	float:right;
	text-transform: capitalize;
	margin:0px;
	padding:0px;
    width:200px;
    height:60px;
    margin-top:-20px;
    z-index:3;
}

#battle_button{
	float:right;
	text-transform: capitalize;
	margin:0px;
	margin-top:-10px;
    width:200px;
    height:60px;
	padding:0px;
    z-index:3;
}

#chat{
	width:400px;
	height:350px;
	border-radius:10px;
	position:absolute;
	top:630px;
	left:700px;
	padding:0px;
    z-index:3;
}

#chat_enter{
	margin-left:-175px;
	margin-top:20px;
	width:150px;
	height:80px;
    z-index:3;
}

#chat_line{
	margin-top:190px;
	margin-left:10px;
	width:90%;
	height:20px;
    z-index:3;
}

#lines{
	position:absolute;
	width:95%;
	height:80%;
	color:black;
    font-size:1.5em;
    z-index:3;
	overflow-y: scroll;
}

#lines p{
	margin:0px;
	padding:0px;
}

#online_players{
    margin-left:-175px;
    margin-top:20px;
    width:150px;
    clear:both;
    float:left;
    z-index:3;
}


  #popup_box {
      display:none;
      position:fixed;
      _position:absolute;
      height:300px;
      width:500px;
      background:#FFFFFF;
      left: 35%;
      top: 45%;
      z-index:3;
      margin-left: 15px;
      padding-left: 50px;

      -moz-box-shadow: 0 0 5px #ff0000;
      -webkit-box-shadow: 0 0 5px #ff0000;
      box-shadow: 0 0 5px #ff0000;

  }

#container {
    background: #d2d2d2; /*Sample*/
    width:100%;
    height:100%;
}

a{
    cursor: pointer;
    text-decoration:none;
}

#accept{
    clear:both;
    float:left;
    width: 200px;
    height:90px;
    margin:0px;
    margin-left:20px;
    margin-top:150px;
}

#decline{
    float:left;
    width: 200px;
    height:90px;
    margin:0px;
    margin-top:150px;
}

#player{
    position:absolute;
    top:700px;
    left:280px;
    width:130px;
    height:200px;
}

#player h2, h3{
    margin:0px;
    padding:0px;
    text-transform: capitalize;
}

#playerProfile{
    width:128px;
    height:128px;
}

#opponent{
    position:absolute;
    top:440px;
    left:280px;
    float:left;
    width:130px;
    height:200px;
}

#opponent h2, h3{
    margin:0px;
    padding:0px;
    text-transform: capitalize;
}

#player_hand{
    position:absolute;
    top:920px;
    left:370px;
    width:700px;
    height:200px;
    z-index:1;
}

#player_deck{
    position:absolute;
    top:700px;
    left:1050px;
    width:100px;
    height:200px;
    z-index:0;
}

#opponent_hand{
    position:absolute;
    top:250px;
    left:370px;
    width:700px;
    height:200px;
    z-index:0;
}

#opponent_deck{
    position:absolute;
    top:480px;
    left:1050px;
    width:100px;
    height:200px;
    z-index:0;
}

#end_turn{
    position:absolute;
    top:650px;
    left:550px;
    width:600px;
    height:70px;
    z-index:3;
    float:left;
}

#end_turn > input{
    float:left;
}

#turn{
    float:left;
    font-size: 2.3em;
    margin-right:10px;
}

#end_turn_field{
    float:left;
}

#end_turn_button{
    width:78px;
    height:78px;
    margin:0px;
    padding:0px;
    float:left;
}

.selectable:hover{
    margin-bottom:20px;
}

#player_field{
    position:absolute;
    top:720px;
    left:410px;
    width:650px;
    height:200px;
    z-index:3;
    float:left;
}

#player_field > img:first-child{
     margin-top:10px;
     margin-left:7px;
     float:left;
 }

#player_field > img{
    margin-top:10px;
    margin-left:25px;
    float:left;
}

#opponent_field{
    position:absolute;
    top:440px;
    left:410px;
    width:650px;
    height:200px;
    z-index:3;
    float:left;
}

#opponent_field > img:first-child{
    margin-top:10px;
    margin-left:7px;
    float:left;
}

#opponent_field > img{
    margin-top:10px;
    margin-left:25px;
    float:left;
}